(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 10.4' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     52204,       1784]
NotebookOptionsPosition[     48505,       1669]
NotebookOutlinePosition[     50573,       1725]
CellTagsIndexPosition[     50487,       1720]
WindowTitle->FCColorIsolate
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[GridBox[{
   {Cell["FEYN CALC SYMBOL", "PacletNameCell"], Cell[TextData[{
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "See Also",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"See Also", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"SUNT\"\>":>Documentation`HelpLookup[
       "paclet:FeynCalc/ref/SUNT"], "\<\"SUNF\"\>":>Documentation`HelpLookup[
       "paclet:FeynCalc/ref/SUNF"]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"SeeAlso"]],
      LineSpacing->{1.4, 0}],
     "\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\
\[ThickSpace]",
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "URL",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"URL", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"FeynCalc/ref/FCColorIsolate\"\>":>
       None, "\<\"Copy Wolfram Documentation Center URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell["FeynCalc/ref/FCColorIsolate"]}, Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; Null], 
       Delimiter, "\<\"Copy web URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell[
              BoxData[
               MakeBoxes[
                Hyperlink[
                
                "http://reference.wolfram.com/language/FeynCalc/ref/\
FCColorIsolate.html"], StandardForm]], "Input", TextClipboardType -> 
              "PlainText"]}, Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; 
        Null], "\<\"Go to web URL\"\>":>FrontEndExecute[{
         NotebookLocate[{
           URL[
            StringJoin[
             If[
              TrueQ[DocumentationBuild`Make`Private`wsmlinkQ$95900], 
              "http://reference.wolfram.com/system-modeler/", 
              "http://reference.wolfram.com/language/"], 
             "FeynCalc/ref/FCColorIsolate", ".html"]], None}]}]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"URLMenu"]],
      LineSpacing->{1.4, 0}]
    }], "AnchorBar"]}
  }]], "AnchorBarGrid",
 GridBoxOptions->{GridBoxItemSize->{"Columns" -> {
     Scaled[0.65], {
      Scaled[0.34]}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, 
   "RowsIndexed" -> {}}},
 CellID->1],

Cell[TextData[{
 Cell["FCColorIsolate", "ObjectName"],
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{8, 0}],
    CacheGraphics->False],
   Spacer[8]]]],
 Cell[BoxData[""], "ObjectNameTranslation"]
}], "ObjectNameGrid"],

Cell[CellGroupData[{

Cell[BoxData[GridBox[{
   {"", Cell[TextData[{
     Cell[BoxData[
      RowBox[{"FCColorIsolate", "[", "exp", "]"}]], "InlineFormula"],
     " \[LineSeparator]wraps colored objects (",
     Cell[BoxData["SUNT"], "InlineFormula"],
     ", ",
     Cell[BoxData["SUNF"], "InlineFormula"],
     " etc.) into heads specified by the user."
    }]]}
  }]], "Usage",
 GridBoxOptions->{
 GridBoxBackground->{
  "Columns" -> {{None}}, "ColumnsIndexed" -> {}, "Rows" -> {{None}}, 
   "RowsIndexed" -> {}}},
 CellID->982511436],

Cell[CellGroupData[{

Cell[TextData[Cell[BoxData[
 ButtonBox[Cell[TextData[{
   Cell[BoxData[
    InterpretationBox[
     StyleBox[
      GraphicsBox[{},
       BaselinePosition->Baseline,
       ImageSize->{6, 0}],
      CacheGraphics->False],
     Spacer[6]]]],
   "Details"
  }], "NotesFrameText"],
  Appearance->{Automatic, None},
  BaseStyle->None,
  ButtonFunction:>(FrontEndExecute[{
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], All, ButtonCell], 
     FrontEndToken["OpenCloseGroup"], 
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], After, CellContents]}]& ),
  Evaluator->None,
  Method->"Preemptive"]]]], "NotesSection",
 WholeCellGroupOpener->True,
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->192738224],

Cell["", "SectionHeaderSpacer"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Options", "[", "FCColorIsolate", "]"}]], "Input",
 CellLabel->"In[47]:=",
 CellID->1895011051],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"ClearHeads", "\[Rule]", 
     RowBox[{"{", 
      RowBox[{"FCGV", "(", "\<\"ColorObject\"\>", ")"}], "}"}]}], ",", 
    RowBox[{"Collecting", "\[Rule]", "True"}], ",", 
    RowBox[{"DotSimplify", "\[Rule]", "True"}], ",", 
    RowBox[{"ExceptHeads", "\[Rule]", 
     RowBox[{"{", "}"}]}], ",", 
    RowBox[{"Expanding", "\[Rule]", "True"}], ",", 
    RowBox[{"FeynCalcInternal", "\[Rule]", "False"}], ",", 
    RowBox[{"Factoring", "\[Rule]", "Factor"}], ",", 
    RowBox[{"Head", "\[Rule]", 
     RowBox[{"FCGV", "(", "\<\"ColorObject\"\>", ")"}]}], ",", 
    RowBox[{"Isolate", "\[Rule]", "False"}], ",", 
    RowBox[{"IsolateNames", "\[Rule]", "KK"}], ",", 
    RowBox[{"IsolateFast", "\[Rule]", "False"}], ",", 
    RowBox[{"SUNT", "\[Rule]", "True"}], ",", 
    RowBox[{"SUNF", "\[Rule]", "True"}], ",", 
    RowBox[{"SUND", "\[Rule]", "True"}], ",", 
    RowBox[{"SUNTrace", "\[Rule]", "True"}]}], "}"}], 
  TraditionalForm]], "Output",
 ImageSize->{522, 73},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[47]=",
 CellID->1828976869]
}, Open  ]]
}, Closed]]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "PrimaryExamplesSection",
 WholeCellGroupOpener->True,
 CellTags->"PrimaryExamplesSection",
 CellID->1717648400],

Cell[CellGroupData[{

Cell[TextData[{
 "Basic Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "ExampleSection", "ExampleSection",
 WholeCellGroupOpener->True,
 CellID->863587483],

Cell[TextData[{
 ButtonBox["FCColorIsolate",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/FCColorIsolate",
  ButtonNote->"FCColorIsolate"],
 " provides an easy way to extract the Color structures present in the \
expression (e.g. an amplitude)"
}], "Notes",
 CellID->108055865],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"amp", "=", 
  RowBox[{
   RowBox[{
    RowBox[{
     RowBox[{"Spinor", "[", 
      RowBox[{
       RowBox[{"Momentum", "[", "p2", "]"}], ",", 
       RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}], ",", "1"}], "]"}], ".", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"-", "\[ImaginaryI]"}], " ", 
       RowBox[{"GA", "[", "\[Mu]", "]"}], " ", 
       RowBox[{"SMP", "[", "\"\<g_s\>\"", "]"}], " ", 
       RowBox[{"SUNTF", "[", 
        RowBox[{
         RowBox[{"{", "Glu2", "}"}], ",", "Col3", ",", "Col5"}], "]"}]}], 
      ")"}], ".", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"GS", "[", 
        RowBox[{
         RowBox[{"-", "k1"}], "+", "p2"}], "]"}], "+", 
       RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}]}], ")"}], ".", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"-", "\[ImaginaryI]"}], " ", 
       RowBox[{"GA", "[", "\[Nu]", "]"}], " ", 
       RowBox[{"SMP", "[", "\"\<g_s\>\"", "]"}], " ", 
       RowBox[{"SUNTF", "[", 
        RowBox[{
         RowBox[{"{", "Glu4", "}"}], ",", "Col5", ",", "Col1"}], "]"}]}], 
      ")"}], ".", 
     RowBox[{"Spinor", "[", 
      RowBox[{
       RowBox[{"Momentum", "[", "p1", "]"}], ",", 
       RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}], ",", "1"}], "]"}]}], " ", 
    RowBox[{"FAD", "[", 
     RowBox[{
      RowBox[{"{", 
       RowBox[{
        RowBox[{"k1", "-", "p2"}], ",", 
        RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}]}], "}"}], ",", 
      RowBox[{"Dimension", "\[Rule]", "4"}]}], "]"}], " ", 
    RowBox[{"FV", "[", 
     RowBox[{
      RowBox[{"Polarization", "[", 
       RowBox[{"k1", ",", "\[ImaginaryI]"}], "]"}], ",", "\[Mu]"}], "]"}], 
    " ", 
    RowBox[{"FV", "[", 
     RowBox[{
      RowBox[{"Polarization", "[", 
       RowBox[{"k2", ",", 
        RowBox[{"-", "\[ImaginaryI]"}]}], "]"}], ",", "\[Nu]"}], "]"}]}], "+", 
   RowBox[{
    RowBox[{
     RowBox[{"Spinor", "[", 
      RowBox[{
       RowBox[{"Momentum", "[", "p2", "]"}], ",", 
       RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}], ",", "1"}], "]"}], ".", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"-", "\[ImaginaryI]"}], " ", 
       RowBox[{"GA", "[", "\[Nu]", "]"}], " ", 
       RowBox[{"SMP", "[", "\"\<g_s\>\"", "]"}], " ", 
       RowBox[{"SUNTF", "[", 
        RowBox[{
         RowBox[{"{", "Glu4", "}"}], ",", "Col3", ",", "Col5"}], "]"}]}], 
      ")"}], ".", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"GS", "[", 
        RowBox[{"k2", "+", "p2"}], "]"}], "+", 
       RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}]}], ")"}], ".", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"-", "\[ImaginaryI]"}], " ", 
       RowBox[{"GA", "[", "\[Mu]", "]"}], " ", 
       RowBox[{"SMP", "[", "\"\<g_s\>\"", "]"}], " ", 
       RowBox[{"SUNTF", "[", 
        RowBox[{
         RowBox[{"{", "Glu2", "}"}], ",", "Col5", ",", "Col1"}], "]"}]}], 
      ")"}], ".", 
     RowBox[{"Spinor", "[", 
      RowBox[{
       RowBox[{"Momentum", "[", "p1", "]"}], ",", 
       RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}], ",", "1"}], "]"}]}], " ", 
    RowBox[{"FAD", "[", 
     RowBox[{
      RowBox[{"{", 
       RowBox[{
        RowBox[{
         RowBox[{"-", "k2"}], "-", "p2"}], ",", 
        RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}]}], "}"}], ",", 
      RowBox[{"Dimension", "\[Rule]", "4"}]}], "]"}], " ", 
    RowBox[{"FV", "[", 
     RowBox[{
      RowBox[{"Polarization", "[", 
       RowBox[{"k1", ",", "\[ImaginaryI]"}], "]"}], ",", "\[Mu]"}], "]"}], 
    " ", 
    RowBox[{"FV", "[", 
     RowBox[{
      RowBox[{"Polarization", "[", 
       RowBox[{"k2", ",", 
        RowBox[{"-", "\[ImaginaryI]"}]}], "]"}], ",", "\[Nu]"}], "]"}]}], "-", 
   RowBox[{
    RowBox[{
     RowBox[{"Spinor", "[", 
      RowBox[{
       RowBox[{"Momentum", "[", "p2", "]"}], ",", 
       RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}], ",", "1"}], "]"}], ".", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"-", "\[ImaginaryI]"}], " ", 
       RowBox[{"GA", "[", "Lor3", "]"}], " ", 
       RowBox[{"SMP", "[", "\"\<g_s\>\"", "]"}], " ", 
       RowBox[{"SUNTF", "[", 
        RowBox[{
         RowBox[{"{", "Glu5", "}"}], ",", "Col3", ",", "Col1"}], "]"}]}], 
      ")"}], ".", 
     RowBox[{"Spinor", "[", 
      RowBox[{
       RowBox[{"Momentum", "[", "p1", "]"}], ",", 
       RowBox[{"SMP", "[", "\"\<m_u\>\"", "]"}], ",", "1"}], "]"}]}], " ", 
    RowBox[{"FAD", "[", 
     RowBox[{
      RowBox[{
       RowBox[{"-", "k1"}], "+", "k2"}], ",", 
      RowBox[{"Dimension", "\[Rule]", "4"}]}], "]"}], " ", 
    RowBox[{"FV", "[", 
     RowBox[{
      RowBox[{"Polarization", "[", 
       RowBox[{"k1", ",", "\[ImaginaryI]"}], "]"}], ",", "\[Mu]"}], "]"}], 
    " ", 
    RowBox[{"FV", "[", 
     RowBox[{
      RowBox[{"Polarization", "[", 
       RowBox[{"k2", ",", 
        RowBox[{"-", "\[ImaginaryI]"}]}], "]"}], ",", "\[Nu]"}], "]"}], " ", 
    RowBox[{"MT", "[", 
     RowBox[{"Lor3", ",", "Lor4"}], "]"}], " ", 
    RowBox[{"(", 
     RowBox[{
      RowBox[{
       RowBox[{"FV", "[", 
        RowBox[{
         RowBox[{
          RowBox[{"2", " ", "k1"}], "-", "k2"}], ",", "\[Nu]"}], "]"}], " ", 
       RowBox[{"MT", "[", 
        RowBox[{"Lor4", ",", "\[Mu]"}], "]"}]}], "+", 
      RowBox[{
       RowBox[{"FV", "[", 
        RowBox[{
         RowBox[{
          RowBox[{"-", "k1"}], "+", 
          RowBox[{"2", " ", "k2"}]}], ",", "\[Mu]"}], "]"}], " ", 
       RowBox[{"MT", "[", 
        RowBox[{"Lor4", ",", "\[Nu]"}], "]"}]}], "+", 
      RowBox[{
       RowBox[{"FV", "[", 
        RowBox[{
         RowBox[{
          RowBox[{"-", "k1"}], "-", "k2"}], ",", "Lor4"}], "]"}], " ", 
       RowBox[{"MT", "[", 
        RowBox[{"\[Mu]", ",", "\[Nu]"}], "]"}]}]}], ")"}], " ", 
    RowBox[{"SMP", "[", "\"\<g_s\>\"", "]"}], " ", 
    RowBox[{"SUNF", "[", 
     RowBox[{"Glu2", ",", "Glu4", ",", "Glu5"}], "]"}]}]}]}]], "Input",
 CellLabel->"In[1]:=",
 CellID->678574635],

Cell[BoxData[
 FormBox[
  RowBox[{
   FormBox[
    RowBox[{
     FractionBox["1", 
      InterpretationBox[
       RowBox[{
        SuperscriptBox[
         RowBox[{
          FormBox["\<\"(\"\>",
           TraditionalForm], 
          FormBox[
           FormBox[
            RowBox[{
             OverscriptBox[
              FormBox["k1",
               TraditionalForm], "_"], "-", 
             OverscriptBox[
              FormBox["p2",
               TraditionalForm], "_"]}],
            TraditionalForm],
           TraditionalForm], 
          FormBox["\<\")\"\>",
           TraditionalForm]}], "2"], "\[InvisibleSpace]", "\<\"-\"\>", 
        "\[InvisibleSpace]", 
        SubsuperscriptBox["m", "u", "2"]}],
       SequenceForm[
        FeynCalc`Pair[
         FeynCalc`Momentum[$CellContext`k1 - $CellContext`p2], 
         FeynCalc`Momentum[$CellContext`k1 - $CellContext`p2]], "-", 
        FeynCalc`SMP["m_u"]^2],
       Editable->False]], 
     RowBox[{
      FormBox[
       RowBox[{
        SuperscriptBox[
         OverscriptBox["\[CurlyEpsilon]", "_"], 
         FormBox[
          FormBox["\[Mu]",
           TraditionalForm],
          TraditionalForm]], "(", 
        FormBox["k1",
         TraditionalForm], ")"}],
       TraditionalForm], " ", 
      FormBox[
       RowBox[{
        SuperscriptBox[
         SuperscriptBox[
          OverscriptBox["\[CurlyEpsilon]", "_"], "*"], 
         FormBox[
          FormBox["\[Nu]",
           TraditionalForm],
          TraditionalForm]], "(", 
        FormBox["k2",
         TraditionalForm], ")"}],
       TraditionalForm], " ", 
      RowBox[{
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p2",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         RowBox[{"-", "\[ImaginaryI]"}], " ", 
         SubscriptBox["g", "s"], " ", 
         FormBox[
          SuperscriptBox[
           OverscriptBox["\[Gamma]", "_"], 
           FormBox[
            FormBox["\[Mu]",
             TraditionalForm],
            TraditionalForm]],
          TraditionalForm], " ", 
         SubsuperscriptBox["T", 
          RowBox[{
           FormBox["Col3",
            TraditionalForm], 
           FormBox["Col5",
            TraditionalForm]}], 
          FormBox["Glu2",
           TraditionalForm]]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         FormBox[
          RowBox[{
           OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", "(", 
           FormBox[
            FormBox[
             RowBox[{
              OverscriptBox[
               FormBox["p2",
                TraditionalForm], "_"], "-", 
              OverscriptBox[
               FormBox["k1",
                TraditionalForm], "_"]}],
             TraditionalForm],
            TraditionalForm], ")"}],
          TraditionalForm], "+", 
         SubscriptBox["m", "u"]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         RowBox[{"-", "\[ImaginaryI]"}], " ", 
         SubscriptBox["g", "s"], " ", 
         FormBox[
          SuperscriptBox[
           OverscriptBox["\[Gamma]", "_"], 
           FormBox[
            FormBox["\[Nu]",
             TraditionalForm],
            TraditionalForm]],
          TraditionalForm], " ", 
         SubsuperscriptBox["T", 
          RowBox[{
           FormBox["Col5",
            TraditionalForm], 
           FormBox["Col1",
            TraditionalForm]}], 
          FormBox["Glu4",
           TraditionalForm]]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p1",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}]}]}]}],
    TraditionalForm], "+", 
   FormBox[
    RowBox[{
     FractionBox["1", 
      InterpretationBox[
       RowBox[{
        SuperscriptBox[
         RowBox[{
          FormBox["\<\"(\"\>",
           TraditionalForm], 
          FormBox[
           FormBox[
            RowBox[{
             RowBox[{"-", 
              OverscriptBox[
               FormBox["k2",
                TraditionalForm], "_"]}], "-", 
             OverscriptBox[
              FormBox["p2",
               TraditionalForm], "_"]}],
            TraditionalForm],
           TraditionalForm], 
          FormBox["\<\")\"\>",
           TraditionalForm]}], "2"], "\[InvisibleSpace]", "\<\"-\"\>", 
        "\[InvisibleSpace]", 
        SubsuperscriptBox["m", "u", "2"]}],
       SequenceForm[
        FeynCalc`Pair[
         FeynCalc`Momentum[-$CellContext`k2 - $CellContext`p2], 
         FeynCalc`Momentum[-$CellContext`k2 - $CellContext`p2]], "-", 
        FeynCalc`SMP["m_u"]^2],
       Editable->False]], 
     RowBox[{
      FormBox[
       RowBox[{
        SuperscriptBox[
         OverscriptBox["\[CurlyEpsilon]", "_"], 
         FormBox[
          FormBox["\[Mu]",
           TraditionalForm],
          TraditionalForm]], "(", 
        FormBox["k1",
         TraditionalForm], ")"}],
       TraditionalForm], " ", 
      FormBox[
       RowBox[{
        SuperscriptBox[
         SuperscriptBox[
          OverscriptBox["\[CurlyEpsilon]", "_"], "*"], 
         FormBox[
          FormBox["\[Nu]",
           TraditionalForm],
          TraditionalForm]], "(", 
        FormBox["k2",
         TraditionalForm], ")"}],
       TraditionalForm], " ", 
      RowBox[{
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p2",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         RowBox[{"-", "\[ImaginaryI]"}], " ", 
         SubscriptBox["g", "s"], " ", 
         FormBox[
          SuperscriptBox[
           OverscriptBox["\[Gamma]", "_"], 
           FormBox[
            FormBox["\[Nu]",
             TraditionalForm],
            TraditionalForm]],
          TraditionalForm], " ", 
         SubsuperscriptBox["T", 
          RowBox[{
           FormBox["Col3",
            TraditionalForm], 
           FormBox["Col5",
            TraditionalForm]}], 
          FormBox["Glu4",
           TraditionalForm]]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         FormBox[
          RowBox[{
           OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", "(", 
           FormBox[
            FormBox[
             RowBox[{
              OverscriptBox[
               FormBox["k2",
                TraditionalForm], "_"], "+", 
              OverscriptBox[
               FormBox["p2",
                TraditionalForm], "_"]}],
             TraditionalForm],
            TraditionalForm], ")"}],
          TraditionalForm], "+", 
         SubscriptBox["m", "u"]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         RowBox[{"-", "\[ImaginaryI]"}], " ", 
         SubscriptBox["g", "s"], " ", 
         FormBox[
          SuperscriptBox[
           OverscriptBox["\[Gamma]", "_"], 
           FormBox[
            FormBox["\[Mu]",
             TraditionalForm],
            TraditionalForm]],
          TraditionalForm], " ", 
         SubsuperscriptBox["T", 
          RowBox[{
           FormBox["Col5",
            TraditionalForm], 
           FormBox["Col1",
            TraditionalForm]}], 
          FormBox["Glu2",
           TraditionalForm]]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p1",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}]}]}]}],
    TraditionalForm], "-", 
   FormBox[
    RowBox[{
     FractionBox["1", 
      InterpretationBox[
       SuperscriptBox[
        RowBox[{
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          FormBox[
           RowBox[{
            OverscriptBox[
             FormBox["k2",
              TraditionalForm], "_"], "-", 
            OverscriptBox[
             FormBox["k1",
              TraditionalForm], "_"]}],
           TraditionalForm],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], "2"],
       SequenceForm[
        FeynCalc`Pair[
         FeynCalc`Momentum[-$CellContext`k1 + $CellContext`k2], 
         FeynCalc`Momentum[-$CellContext`k1 + $CellContext`k2]]],
       Editable->False]], 
     RowBox[{
      SubscriptBox["g", "s"], " ", 
      FormBox[
       SuperscriptBox[
        OverscriptBox["g", "_"], 
        RowBox[{
         FormBox[
          FormBox["Lor3",
           TraditionalForm],
          TraditionalForm], 
         FormBox[
          FormBox["Lor4",
           TraditionalForm],
          TraditionalForm]}]],
       TraditionalForm], " ", 
      FormBox[
       RowBox[{
        SuperscriptBox[
         OverscriptBox["\[CurlyEpsilon]", "_"], 
         FormBox[
          FormBox["\[Mu]",
           TraditionalForm],
          TraditionalForm]], "(", 
        FormBox["k1",
         TraditionalForm], ")"}],
       TraditionalForm], " ", 
      FormBox[
       RowBox[{
        SuperscriptBox[
         SuperscriptBox[
          OverscriptBox["\[CurlyEpsilon]", "_"], "*"], 
         FormBox[
          FormBox["\[Nu]",
           TraditionalForm],
          TraditionalForm]], "(", 
        FormBox["k2",
         TraditionalForm], ")"}],
       TraditionalForm], " ", 
      SuperscriptBox["f", 
       RowBox[{
        FormBox["Glu2",
         TraditionalForm], 
        FormBox["Glu4",
         TraditionalForm], 
        FormBox["Glu5",
         TraditionalForm]}]], " ", 
      RowBox[{"(", 
       RowBox[{
        RowBox[{
         FormBox[
          SuperscriptBox[
           OverscriptBox["g", "_"], 
           RowBox[{
            FormBox[
             FormBox["Lor4",
              TraditionalForm],
             TraditionalForm], 
            FormBox[
             FormBox["\[Mu]",
              TraditionalForm],
             TraditionalForm]}]],
          TraditionalForm], " ", 
         FormBox[
          SuperscriptBox[
           RowBox[{"(", 
            FormBox[
             FormBox[
              RowBox[{
               RowBox[{"2", " ", 
                OverscriptBox[
                 FormBox["k1",
                  TraditionalForm], "_"]}], "-", 
               OverscriptBox[
                FormBox["k2",
                 TraditionalForm], "_"]}],
              TraditionalForm],
             TraditionalForm], ")"}], 
           FormBox[
            FormBox["\[Nu]",
             TraditionalForm],
            TraditionalForm]],
          TraditionalForm]}], "+", 
        RowBox[{
         FormBox[
          SuperscriptBox[
           OverscriptBox["g", "_"], 
           RowBox[{
            FormBox[
             FormBox["Lor4",
              TraditionalForm],
             TraditionalForm], 
            FormBox[
             FormBox["\[Nu]",
              TraditionalForm],
             TraditionalForm]}]],
          TraditionalForm], " ", 
         FormBox[
          SuperscriptBox[
           RowBox[{"(", 
            FormBox[
             FormBox[
              RowBox[{
               RowBox[{"2", " ", 
                OverscriptBox[
                 FormBox["k2",
                  TraditionalForm], "_"]}], "-", 
               OverscriptBox[
                FormBox["k1",
                 TraditionalForm], "_"]}],
              TraditionalForm],
             TraditionalForm], ")"}], 
           FormBox[
            FormBox["\[Mu]",
             TraditionalForm],
            TraditionalForm]],
          TraditionalForm]}], "+", 
        RowBox[{
         FormBox[
          SuperscriptBox[
           OverscriptBox["g", "_"], 
           RowBox[{
            FormBox[
             FormBox["\[Mu]",
              TraditionalForm],
             TraditionalForm], 
            FormBox[
             FormBox["\[Nu]",
              TraditionalForm],
             TraditionalForm]}]],
          TraditionalForm], " ", 
         FormBox[
          SuperscriptBox[
           RowBox[{"(", 
            FormBox[
             FormBox[
              RowBox[{
               RowBox[{"-", 
                OverscriptBox[
                 FormBox["k1",
                  TraditionalForm], "_"]}], "-", 
               OverscriptBox[
                FormBox["k2",
                 TraditionalForm], "_"]}],
              TraditionalForm],
             TraditionalForm], ")"}], 
           FormBox[
            FormBox["Lor4",
             TraditionalForm],
            TraditionalForm]],
          TraditionalForm]}]}], ")"}], " ", 
      RowBox[{
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p2",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         RowBox[{"-", "\[ImaginaryI]"}], " ", 
         SubscriptBox["g", "s"], " ", 
         FormBox[
          SuperscriptBox[
           OverscriptBox["\[Gamma]", "_"], 
           FormBox[
            FormBox["Lor3",
             TraditionalForm],
            TraditionalForm]],
          TraditionalForm], " ", 
         SubsuperscriptBox["T", 
          RowBox[{
           FormBox["Col3",
            TraditionalForm], 
           FormBox["Col1",
            TraditionalForm]}], 
          FormBox["Glu5",
           TraditionalForm]]}], ")"}], ".", 
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p1",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}]}]}]}],
    TraditionalForm]}], TraditionalForm]], "Output",
 ImageSize->{483, 237},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[1]=",
 CellID->1299085040]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"ampIso", "=", 
  RowBox[{"FCColorIsolate", "[", 
   RowBox[{"amp", ",", 
    RowBox[{"Head", "\[Rule]", "colorS"}]}], "]"}]}]], "Input",
 CellLabel->"In[2]:=",
 CellID->184667609],

Cell[BoxData[
 FormBox[
  RowBox[{
   FormBox[
    RowBox[{"-", 
     RowBox[{
      FractionBox["1", 
       InterpretationBox[
        RowBox[{
         SuperscriptBox[
          RowBox[{
           FormBox["\<\"(\"\>",
            TraditionalForm], 
           FormBox[
            FormBox[
             RowBox[{
              OverscriptBox[
               FormBox["k1",
                TraditionalForm], "_"], "-", 
              OverscriptBox[
               FormBox["p2",
                TraditionalForm], "_"]}],
             TraditionalForm],
            TraditionalForm], 
           FormBox["\<\")\"\>",
            TraditionalForm]}], "2"], "\[InvisibleSpace]", "\<\"-\"\>", 
         "\[InvisibleSpace]", 
         SubsuperscriptBox["m", "u", "2"]}],
        SequenceForm[
         FeynCalc`Pair[
         FeynCalc`Momentum[$CellContext`k1] - 
          FeynCalc`Momentum[$CellContext`p2], 
          FeynCalc`Momentum[$CellContext`k1] - 
          FeynCalc`Momentum[$CellContext`p2]], "-", FeynCalc`SMP["m_u"]^2],
        Editable->False]], 
      RowBox[{
       SubsuperscriptBox["g", "s", "2"], " ", 
       RowBox[{
        SuperscriptBox[
         OverscriptBox["\[CurlyEpsilon]", "_"], 
         FormBox[
          FormBox["\[Mu]",
           TraditionalForm],
          TraditionalForm]], "(", 
        FormBox["k1",
         TraditionalForm], ")"}], " ", 
       RowBox[{
        SuperscriptBox[
         SuperscriptBox[
          OverscriptBox["\[CurlyEpsilon]", "_"], "*"], 
         FormBox[
          FormBox["\[Nu]",
           TraditionalForm],
          TraditionalForm]], "(", 
        FormBox["k2",
         TraditionalForm], ")"}], " ", 
       RowBox[{"colorS", "(", 
        RowBox[{
         SubsuperscriptBox["T", 
          RowBox[{
           FormBox[
            FormBox["Col5",
             TraditionalForm],
            TraditionalForm], 
           FormBox[
            FormBox["Col1",
             TraditionalForm],
            TraditionalForm]}], 
          FormBox[
           FormBox["Glu4",
            TraditionalForm],
           TraditionalForm]], " ", 
         SubsuperscriptBox["T", 
          RowBox[{
           FormBox[
            FormBox["Col3",
             TraditionalForm],
            TraditionalForm], 
           FormBox[
            FormBox["Col5",
             TraditionalForm],
            TraditionalForm]}], 
          FormBox[
           FormBox["Glu2",
            TraditionalForm],
           TraditionalForm]]}], ")"}], " ", 
       RowBox[{
        RowBox[{"(", 
         RowBox[{
          FormBox["\<\"\[CurlyPhi]\"\>",
           TraditionalForm], 
          FormBox["\<\"(\"\>",
           TraditionalForm], 
          FormBox[
           OverscriptBox[
            FormBox["p2",
             TraditionalForm], "_"],
           TraditionalForm], 
          FormBox["\<\",\"\>",
           TraditionalForm], 
          FormBox[
           SubscriptBox["m", "u"],
           TraditionalForm], 
          FormBox["\<\")\"\>",
           TraditionalForm]}], ")"}], ".", 
        SuperscriptBox[
         OverscriptBox["\[Gamma]", "_"], 
         FormBox[
          FormBox["\[Mu]",
           TraditionalForm],
          TraditionalForm]], ".", 
        RowBox[{"(", 
         RowBox[{
          RowBox[{
           OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", "(", 
           FormBox[
            FormBox[
             RowBox[{
              OverscriptBox[
               FormBox["p2",
                TraditionalForm], "_"], "-", 
              OverscriptBox[
               FormBox["k1",
                TraditionalForm], "_"]}],
             TraditionalForm],
            TraditionalForm], ")"}], "+", 
          SubscriptBox["m", "u"]}], ")"}], ".", 
        SuperscriptBox[
         OverscriptBox["\[Gamma]", "_"], 
         FormBox[
          FormBox["\[Nu]",
           TraditionalForm],
          TraditionalForm]], ".", 
        RowBox[{"(", 
         RowBox[{
          FormBox["\<\"\[CurlyPhi]\"\>",
           TraditionalForm], 
          FormBox["\<\"(\"\>",
           TraditionalForm], 
          FormBox[
           OverscriptBox[
            FormBox["p1",
             TraditionalForm], "_"],
           TraditionalForm], 
          FormBox["\<\",\"\>",
           TraditionalForm], 
          FormBox[
           SubscriptBox["m", "u"],
           TraditionalForm], 
          FormBox["\<\")\"\>",
           TraditionalForm]}], ")"}]}]}]}]}],
    TraditionalForm], "-", 
   FormBox[
    RowBox[{
     FractionBox["1", 
      InterpretationBox[
       RowBox[{
        SuperscriptBox[
         RowBox[{
          FormBox["\<\"(\"\>",
           TraditionalForm], 
          FormBox[
           FormBox[
            RowBox[{
             RowBox[{"-", 
              OverscriptBox[
               FormBox["k2",
                TraditionalForm], "_"]}], "-", 
             OverscriptBox[
              FormBox["p2",
               TraditionalForm], "_"]}],
            TraditionalForm],
           TraditionalForm], 
          FormBox["\<\")\"\>",
           TraditionalForm]}], "2"], "\[InvisibleSpace]", "\<\"-\"\>", 
        "\[InvisibleSpace]", 
        SubsuperscriptBox["m", "u", "2"]}],
       SequenceForm[
        FeynCalc`Pair[-FeynCalc`Momentum[$CellContext`k2] - 
         FeynCalc`Momentum[$CellContext`p2], -
          FeynCalc`Momentum[$CellContext`k2] - 
         FeynCalc`Momentum[$CellContext`p2]], "-", FeynCalc`SMP["m_u"]^2],
       Editable->False]], 
     RowBox[{
      SubsuperscriptBox["g", "s", "2"], " ", 
      RowBox[{
       SuperscriptBox[
        OverscriptBox["\[CurlyEpsilon]", "_"], 
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm]], "(", 
       FormBox["k1",
        TraditionalForm], ")"}], " ", 
      RowBox[{
       SuperscriptBox[
        SuperscriptBox[
         OverscriptBox["\[CurlyEpsilon]", "_"], "*"], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]], "(", 
       FormBox["k2",
        TraditionalForm], ")"}], " ", 
      RowBox[{"colorS", "(", 
       RowBox[{
        SubsuperscriptBox["T", 
         RowBox[{
          FormBox[
           FormBox["Col5",
            TraditionalForm],
           TraditionalForm], 
          FormBox[
           FormBox["Col1",
            TraditionalForm],
           TraditionalForm]}], 
         FormBox[
          FormBox["Glu2",
           TraditionalForm],
          TraditionalForm]], " ", 
        SubsuperscriptBox["T", 
         RowBox[{
          FormBox[
           FormBox["Col3",
            TraditionalForm],
           TraditionalForm], 
          FormBox[
           FormBox["Col5",
            TraditionalForm],
           TraditionalForm]}], 
         FormBox[
          FormBox["Glu4",
           TraditionalForm],
          TraditionalForm]]}], ")"}], " ", 
      RowBox[{
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p2",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]], ".", 
       RowBox[{"(", 
        RowBox[{
         RowBox[{
          OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", "(", 
          FormBox[
           FormBox[
            RowBox[{
             OverscriptBox[
              FormBox["k2",
               TraditionalForm], "_"], "+", 
             OverscriptBox[
              FormBox["p2",
               TraditionalForm], "_"]}],
            TraditionalForm],
           TraditionalForm], ")"}], "+", 
         SubscriptBox["m", "u"]}], ")"}], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm]], ".", 
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p1",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}]}]}]}],
    TraditionalForm], "+", 
   FormBox[
    RowBox[{
     FractionBox["1", 
      InterpretationBox[
       SuperscriptBox[
        RowBox[{
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          FormBox[
           RowBox[{
            OverscriptBox[
             FormBox["k2",
              TraditionalForm], "_"], "-", 
            OverscriptBox[
             FormBox["k1",
              TraditionalForm], "_"]}],
           TraditionalForm],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], "2"],
       SequenceForm[
        FeynCalc`Pair[-FeynCalc`Momentum[$CellContext`k1] + 
         FeynCalc`Momentum[$CellContext`k2], -
          FeynCalc`Momentum[$CellContext`k1] + 
         FeynCalc`Momentum[$CellContext`k2]]],
       Editable->False]], 
     RowBox[{"\[ImaginaryI]", " ", 
      SubsuperscriptBox["g", "s", "2"], " ", 
      SuperscriptBox[
       OverscriptBox["g", "_"], 
       RowBox[{
        FormBox[
         FormBox["Lor3",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["Lor4",
          TraditionalForm],
         TraditionalForm]}]], " ", 
      RowBox[{
       SuperscriptBox[
        OverscriptBox["\[CurlyEpsilon]", "_"], 
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm]], "(", 
       FormBox["k1",
        TraditionalForm], ")"}], " ", 
      RowBox[{
       SuperscriptBox[
        SuperscriptBox[
         OverscriptBox["\[CurlyEpsilon]", "_"], "*"], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]], "(", 
       FormBox["k2",
        TraditionalForm], ")"}], " ", 
      RowBox[{"(", 
       RowBox[{
        RowBox[{
         SuperscriptBox[
          OverscriptBox["g", "_"], 
          RowBox[{
           FormBox[
            FormBox["\[Mu]",
             TraditionalForm],
            TraditionalForm], 
           FormBox[
            FormBox["\[Nu]",
             TraditionalForm],
            TraditionalForm]}]], " ", 
         SuperscriptBox[
          RowBox[{"(", 
           FormBox[
            FormBox[
             RowBox[{
              RowBox[{"-", 
               OverscriptBox[
                FormBox["k1",
                 TraditionalForm], "_"]}], "-", 
              OverscriptBox[
               FormBox["k2",
                TraditionalForm], "_"]}],
             TraditionalForm],
            TraditionalForm], ")"}], 
          FormBox[
           FormBox["Lor4",
            TraditionalForm],
           TraditionalForm]]}], "+", 
        RowBox[{
         SuperscriptBox[
          OverscriptBox["g", "_"], 
          RowBox[{
           FormBox[
            FormBox["Lor4",
             TraditionalForm],
            TraditionalForm], 
           FormBox[
            FormBox["\[Nu]",
             TraditionalForm],
            TraditionalForm]}]], " ", 
         SuperscriptBox[
          RowBox[{"(", 
           FormBox[
            FormBox[
             RowBox[{
              RowBox[{"2", " ", 
               OverscriptBox[
                FormBox["k2",
                 TraditionalForm], "_"]}], "-", 
              OverscriptBox[
               FormBox["k1",
                TraditionalForm], "_"]}],
             TraditionalForm],
            TraditionalForm], ")"}], 
          FormBox[
           FormBox["\[Mu]",
            TraditionalForm],
           TraditionalForm]]}], "+", 
        RowBox[{
         SuperscriptBox[
          OverscriptBox["g", "_"], 
          RowBox[{
           FormBox[
            FormBox["Lor4",
             TraditionalForm],
            TraditionalForm], 
           FormBox[
            FormBox["\[Mu]",
             TraditionalForm],
            TraditionalForm]}]], " ", 
         SuperscriptBox[
          RowBox[{"(", 
           FormBox[
            FormBox[
             RowBox[{
              RowBox[{"2", " ", 
               OverscriptBox[
                FormBox["k1",
                 TraditionalForm], "_"]}], "-", 
              OverscriptBox[
               FormBox["k2",
                TraditionalForm], "_"]}],
             TraditionalForm],
            TraditionalForm], ")"}], 
          FormBox[
           FormBox["\[Nu]",
            TraditionalForm],
           TraditionalForm]]}]}], ")"}], " ", 
      RowBox[{"colorS", "(", 
       RowBox[{
        SubsuperscriptBox["T", 
         RowBox[{
          FormBox[
           FormBox["Col3",
            TraditionalForm],
           TraditionalForm], 
          FormBox[
           FormBox["Col1",
            TraditionalForm],
           TraditionalForm]}], 
         FormBox[
          FormBox["Glu5",
           TraditionalForm],
          TraditionalForm]], " ", 
        SuperscriptBox["f", 
         RowBox[{
          FormBox[
           FormBox["Glu2",
            TraditionalForm],
           TraditionalForm], 
          FormBox[
           FormBox["Glu4",
            TraditionalForm],
           TraditionalForm], 
          FormBox[
           FormBox["Glu5",
            TraditionalForm],
           TraditionalForm]}]]}], ")"}], " ", 
      RowBox[{
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p2",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["Lor3",
          TraditionalForm],
         TraditionalForm]], ".", 
       RowBox[{"(", 
        RowBox[{
         FormBox["\<\"\[CurlyPhi]\"\>",
          TraditionalForm], 
         FormBox["\<\"(\"\>",
          TraditionalForm], 
         FormBox[
          OverscriptBox[
           FormBox["p1",
            TraditionalForm], "_"],
          TraditionalForm], 
         FormBox["\<\",\"\>",
          TraditionalForm], 
         FormBox[
          SubscriptBox["m", "u"],
          TraditionalForm], 
         FormBox["\<\")\"\>",
          TraditionalForm]}], ")"}]}]}]}],
    TraditionalForm]}], TraditionalForm]], "Output",
 ImageSize->{472, 235},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[2]=",
 CellID->1526981637]
}, Open  ]],

Cell[TextData[{
 "Now that all color structures are wrapped into the head ",
 Cell[BoxData[
  RowBox[{"colorcS", " "}]], "InlineFormula"],
 " it is easy to extract them to a separate list"
}], "Notes",
 CellID->959852842],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Cases2", "[", 
  RowBox[{"ampIso", ",", "colorS"}], "]"}]], "Input",
 CellLabel->"In[3]:=",
 CellID->532893225],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"colorS", "(", 
     RowBox[{
      SubsuperscriptBox["T", 
       RowBox[{
        FormBox[
         FormBox["Col5",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["Col1",
          TraditionalForm],
         TraditionalForm]}], 
       FormBox[
        FormBox["Glu2",
         TraditionalForm],
        TraditionalForm]], " ", 
      SubsuperscriptBox["T", 
       RowBox[{
        FormBox[
         FormBox["Col3",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["Col5",
          TraditionalForm],
         TraditionalForm]}], 
       FormBox[
        FormBox["Glu4",
         TraditionalForm],
        TraditionalForm]]}], ")"}], ",", 
    RowBox[{"colorS", "(", 
     RowBox[{
      SubsuperscriptBox["T", 
       RowBox[{
        FormBox[
         FormBox["Col5",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["Col1",
          TraditionalForm],
         TraditionalForm]}], 
       FormBox[
        FormBox["Glu4",
         TraditionalForm],
        TraditionalForm]], " ", 
      SubsuperscriptBox["T", 
       RowBox[{
        FormBox[
         FormBox["Col3",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["Col5",
          TraditionalForm],
         TraditionalForm]}], 
       FormBox[
        FormBox["Glu2",
         TraditionalForm],
        TraditionalForm]]}], ")"}], ",", 
    RowBox[{"colorS", "(", 
     RowBox[{
      SubsuperscriptBox["T", 
       RowBox[{
        FormBox[
         FormBox["Col3",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["Col1",
          TraditionalForm],
         TraditionalForm]}], 
       FormBox[
        FormBox["Glu5",
         TraditionalForm],
        TraditionalForm]], " ", 
      SuperscriptBox["f", 
       RowBox[{
        FormBox[
         FormBox["Glu2",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["Glu4",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["Glu5",
          TraditionalForm],
         TraditionalForm]}]]}], ")"}]}], "}"}], TraditionalForm]], "Output",
 ImageSize->{553, 22},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[3]=",
 CellID->1394154100]
}, Open  ]],

Cell[TextData[{
 "This way we obtain a sorted list of all unique color structures in ",
 Cell[BoxData["amp"], "InlineFormula"],
 ". "
}], "Notes",
 CellID->111681314],

Cell[BoxData[
 RowBox[{"ClearAll", "[", 
  RowBox[{"amp", ",", "ampIso", ",", "colorS"}], "]"}]], "Input",
 CellLabel->"In[4]:=",
 CellID->1836486841]
}, Open  ]],

Cell["", "SectionFooterSpacer"]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "See Also"
}], "SeeAlsoSection",
 WholeCellGroupOpener->True,
 CellID->1255426704],

Cell[TextData[{
 StyleBox[ButtonBox["SUNT",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/SUNT",
  ButtonNote->"SUNT"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["SUNF",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/SUNF",
  ButtonNote->"SUNF"],
  FontFamily->"Verdana"],
 "."
}], "SeeAlso",
 CellID->655647701]
}, Open  ]],

Cell[" ", "FooterCell"]
},
Saveable->False,
ScreenStyleEnvironment->"Working",
WindowSize->{725, 750},
WindowMargins->{{-10, Automatic}, {Automatic, -8}},
WindowTitle->"FCColorIsolate",
TaggingRules->{
 "ModificationHighlight" -> False, "ColorType" -> "SymbolColor", "LinkTrails" -> 
  GridBox[{{
      RowBox[{
        ButtonBox[
        "FeynCalc", ButtonData -> "paclet:FeynCalc/guide/FeynCalc", 
         BaseStyle -> {"Link", "DockedLinkTrail"}]}]}}, ColumnAlignments -> 
    Left], "HasOptions" -> False, "ExampleCounter" -> 1, "NeedPlatMsgIn" -> 
  None, "RootCaptions" -> "", 
  "Metadata" -> {
   "built" -> "{2020, 6, 20, 19, 5, 9.088765}", 
    "history" -> {"9.3", "", "", ""}, "context" -> "FeynCalc`", 
    "keywords" -> {}, "specialkeywords" -> {}, 
    "tutorialcollectionlinks" -> {}, "index" -> True, "label" -> 
    "Feyn Calc Symbol", "language" -> "en", "paclet" -> "FeynCalc", "status" -> 
    "None", "summary" -> 
    "FCColorIsolate[exp] wraps colored objects (SUNT, SUNF etc.) into heads \
specified by the user.", "synonyms" -> {}, "tabletags" -> {}, "title" -> 
    "FCColorIsolate", "titlemodifier" -> "", "windowtitle" -> 
    "FCColorIsolate", "type" -> "Symbol", "uri" -> 
    "FeynCalc/ref/FCColorIsolate"}, "SearchTextTranslated" -> ""},
CellContext->"Global`",
FrontEndVersion->"10.4 for Linux x86 (64-bit) (April 11, 2016)",
StyleDefinitions->Notebook[{
   Cell[
    StyleData[
    StyleDefinitions -> FrontEnd`FileName[{"Wolfram"}, "Reference.nb"]]], 
   Cell[
    StyleData["Input"], CellContext -> "Global`"], 
   Cell[
    StyleData["Output"], CellContext -> "Global`"]}, Visible -> False, 
  FrontEndVersion -> "10.4 for Linux x86 (64-bit) (April 11, 2016)", 
  StyleDefinitions -> "Default.nb"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "PrimaryExamplesSection"->{
  Cell[6677, 203, 388, 15, 31, "PrimaryExamplesSection",
   CellTags->"PrimaryExamplesSection",
   CellID->1717648400]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"PrimaryExamplesSection", 50343, 1713}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[586, 21, 3113, 76, 53, "AnchorBarGrid",
 CellID->1],
Cell[3702, 99, 291, 11, 45, "ObjectNameGrid"],
Cell[CellGroupData[{
Cell[4018, 114, 515, 15, 85, "Usage",
 CellID->982511436],
Cell[CellGroupData[{
Cell[4558, 133, 738, 24, 31, "NotesSection",
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->192738224],
Cell[5299, 159, 31, 0, 70, "SectionHeaderSpacer"],
Cell[CellGroupData[{
Cell[5355, 163, 118, 3, 70, "Input",
 CellID->1895011051],
Cell[5476, 168, 1140, 28, 94, "Output",
 CellID->1828976869]
}, Open  ]]
}, Closed]]
}, Open  ]],
Cell[CellGroupData[{
Cell[6677, 203, 388, 15, 31, "PrimaryExamplesSection",
 CellTags->"PrimaryExamplesSection",
 CellID->1717648400],
Cell[CellGroupData[{
Cell[7090, 222, 195, 6, 26, "ExampleSection",
 CellID->863587483],
Cell[7288, 230, 288, 8, 49, "Notes",
 CellID->108055865],
Cell[CellGroupData[{
Cell[7601, 242, 5854, 169, 384, "Input",
 CellID->678574635],
Cell[13458, 413, 15627, 542, 258, "Output",
 CellID->1299085040]
}, Open  ]],
Cell[CellGroupData[{
Cell[29122, 960, 203, 6, 27, "Input",
 CellID->184667609],
Cell[29328, 968, 15271, 529, 256, "Output",
 CellID->1526981637]
}, Open  ]],
Cell[44614, 1500, 221, 6, 49, "Notes",
 CellID->959852842],
Cell[CellGroupData[{
Cell[44860, 1510, 135, 4, 27, "Input",
 CellID->532893225],
Cell[44998, 1516, 2433, 98, 43, "Output",
 CellID->1394154100]
}, Open  ]],
Cell[47446, 1617, 166, 5, 32, "Notes",
 CellID->111681314],
Cell[47615, 1624, 150, 4, 27, "Input",
 CellID->1836486841]
}, Open  ]],
Cell[47780, 1631, 31, 0, 29, "SectionFooterSpacer"]
}, Open  ]],
Cell[CellGroupData[{
Cell[47848, 1636, 270, 12, 31, "SeeAlsoSection",
 CellID->1255426704],
Cell[48121, 1650, 342, 14, 56, "SeeAlso",
 CellID->655647701]
}, Open  ]],
Cell[48478, 1667, 23, 0, 41, "FooterCell"]
}
]
*)

(* End of internal cache information *)

